package com.tanovo.mapper;

import com.tanovo.domain.CompanyMapUser;
import com.tanovo.domain.CompanyMapUserExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CompanyMapUserMapper {
    int countByExample(CompanyMapUserExample example);

    int deleteByExample(CompanyMapUserExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CompanyMapUser record);

    int insertSelective(CompanyMapUser record);

    List<CompanyMapUser> selectByExample(CompanyMapUserExample example);

    CompanyMapUser selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CompanyMapUser record, @Param("example") CompanyMapUserExample example);

    int updateByExample(@Param("record") CompanyMapUser record, @Param("example") CompanyMapUserExample example);

    int updateByPrimaryKeySelective(CompanyMapUser record);

    int updateByPrimaryKey(CompanyMapUser record);

    CompanyMapUser getLoginDefaultCompany(Integer userId);
}